package com.ft.springboottravel.service;

import com.ft.springboottravel.bean.Category;
import com.ft.springboottravel.util.Pager;

import java.util.List;

public interface CategoryService {

    Pager<Category> selectAllCategoryList(String cateName,Integer currentPage,Integer pagersNumber);
    Long selectAllCategoryListToLong(String cateName);

    void addCategory(String cateName);

    Category selectCategoryByCateId(Integer cateId);

    void editCategoryByCategory(Category category);

    List<Category> selectCategoryList();

}
